package com.baige.service.statistic.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统每天统计
 * </p>
 *
 * @author wulg
 * @since 2018-12-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("system_date_statistic_day")
public class SystemDateStatisticDay extends Model<SystemDateStatisticDay> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 总pv
     */
    @TableField("total_pv")
    private Integer totalPv;
    /**
     * 总uv
     */
    @TableField("total_uv")
    private Integer totalUv;
    /**
     * 新增用户数
     */
    @TableField("add_user_count")
    private Integer addUserCount;
    /**
     * 新用户订单数
     */
    @TableField("new_user_order_count")
    private Integer newUserOrderCount;
    /**
     * 老用户订单数
     */
    @TableField("old_user_order_count")
    private Integer oldUserOrderCount;
    /**
     * 会员付费订单数
     */
    @TableField("vip_user_pay_rent_order_count")
    private Integer vipUserPayRentOrderCount;
    /**
     * 会员免费订单数
     */
    @TableField("vip_user_free_rent_order_count")
    private Integer vipUserFreeRentOrderCount;
    /**
     * 会员付费续租订单数
     */
    @TableField("vip_user_pay_relet_order_count")
    private Integer vipUserPayReletOrderCount;
    /**
     * 会员续租免费订单数
     */
    @TableField("vip_user_free_relet_order_count")
    private Integer vipUserFreeReletOrderCount;
    /**
     * 非会员用户租订单数
     */
    @TableField("user_rent_order_count")
    private Integer userRentOrderCount;
    /**
     * 非会员续租订单数
     */
    @TableField("user_relet_order_count")
    private Integer userReletOrderCount;
    /**
     * 月卡售出订单数
     */
    @TableField("month_card_order_count")
    private Integer monthCardOrderCount;
    /**
     * 季卡售出订单数
     */
    @TableField("season_card_order_count")
    private Integer seasonCardOrderCount;
    /**
     * 年卡售出订单数
     */
    @TableField("year_card_order_count")
    private Integer yearCardOrderCount;
    /**
     * 非会员租金
     */
    @TableField("user_rent_amount")
    private BigDecimal userRentAmount;
    /**
     * 非会员押金
     */
    @TableField("user_deposit_amount")
    private BigDecimal userDepositAmount;
    /**
     * 会员租金
     */
    @TableField("vip_user_rent_amount")
    private BigDecimal vipUserRentAmount;
    /**
     * 会员押金
     */
    @TableField("vip_user_deposit_amount")
    private BigDecimal vipUserDepositAmount;
    /**
     * 租金收益
     */
    @TableField("rent_earnings_amount")
    private BigDecimal rentEarningsAmount;
    /**
     * 卡收益
     */
    @TableField("card_earnings_amount")
    private BigDecimal cardEarningsAmount;
    /**
     * 物流收益
     */
    @TableField("logistics_earnings_amount")
    private BigDecimal logisticsEarningsAmount;
    /**
     * 保障金收益
     */
    @TableField("insurance_earnings_amount")
    private BigDecimal insuranceEarningsAmount;
    /**
     * 卖包收益
     */
    @TableField("buy_earnings_amount")
    private BigDecimal buyEarningsAmount;
    /**
     * 平台的GMV
     */
    @TableField("gmv_amount")
    private BigDecimal gmvAmount;
    /**
     * 来源
     */
    private Integer source;
    /**
     * 统计日期
     */
    @TableField("statistic_date")
    private String statisticDate;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
